//vite.config.js
const path = require('path')
module.exports = {
    root: path.resolve(__dirname, '../scenery'),
    // publicDir: path.resolve(__dirname, '../assert'),
    build: {
        reportCompressedSize: true,
        assetsInlineLimit: 10240, //10kb base64限制
        cssTarget: 'chrome61',
        cssCodeSplit: false,
        // rollupOptions: {
        //     input: {
        //     //   sound_building: path.resolve(__dirname, 'index.html'),
        //       type_building: path.resolve(__dirname, '../scenery/index.html')
        //     }
        // }
    }
}
